page-home {
  .content {
    background: url("../assets/imgs/back-img.jpg") center center no-repeat;
    background-size: cover;
    color: #f6f6f6;
    .item-list .item{
      background-color: rgba(255, 255, 255, .2);
      .label{
        color: #f6f6f6;
      }
    }
  }
  .progress-control {
    width: 100%;
    padding: 10px 0 10px 10px;
    position: fixed;
    z-index: 9;
    color: $color-thc-dark;
    .back-color {
      padding: 0 3px;
      height: 14px;
      float: left;
      border-top-left-radius: 14px;
      border-bottom-right-radius: 14px;
      background-color: #02396d;
      span {
        position: relative;
        top: -2px;
      }
    }
    .progress-bar {
      width: 100%;
      height: 16px;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, .15);
      .progress {
        height: 100%;
        background-color: #19ce18;
        position: relative;
        overflow-x: hidden;
      }
      .progress:before {
        content: '';
        width: 50px;
        position: absolute;
        top: -1px;
        bottom: -1px;
        left: -100px;
        background: url("../assets/imgs/light.png") center center no-repeat;
        background-size: contain;
        -webkit-animation: sweep 3s linear infinite;
        -o-animation: sweep 3s linear infinite;
        animation: sweep 3s linear infinite;
      }
      .progress:after {
        content: '';
        width: 5px;
        position: absolute;
        right: -3px;
        top: -14px;
        bottom: -14px;
        background: url("../assets/imgs/rate_point.png") left center no-repeat;
        background-size: contain;
      }

      @keyframes sweep {
        0% {
          left: -100px;
        }
        60% {
          left: 100%;
        }
        100% {
          left: 100%;
        }
      }
      @-webkit-keyframes sweep {
        0% {
          left: -100px;
        }
        60% {
          left: 100%;
        }
        100% {
          left: 100%;
        }
      }
    }
  }

  $width: 60px;
  .animate {
    width: $width;
    height: $width;
    margin: auto;
    position: fixed;
    right: -10px;
    top: -10px;
    background: url("../assets/imgs/core.png") center center no-repeat;
    background-size: contain;
    z-index: 10;
    .rotate {
      width: $width+6px;
      height: $width+6px;
      margin: auto;
      background: url("../assets/imgs/rotate.png") center center no-repeat;
      background-size: contain;
      -webkit-animation: rotate 5s linear infinite;
      -o-animation: rotate 5s linear infinite;
      animation: rotate 5s linear infinite;
      position: absolute;
      left: -2px;
      top: -2px;
    }
    @keyframes rotate {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }
    @-webkit-keyframes rotate {
      0% {
        -webkit-transform: rotate(0deg);
      }
      100% {
        -webkit-transform: rotate(360deg);
      }
    }
    .twinkle {
      width: $width - 12px;
      height: $width - 12px;
      position: absolute;
      left: 6px;
      top: 6px;
      background: url("../assets/imgs/raw.png") center center no-repeat;
      background-size: contain;
      -webkit-animation: twinkle 3s infinite;
      -o-animation: twinkle 3s infinite;
      animation: twinkle 3s infinite;
    }
    @keyframes twinkle {
      0% {
        opacity: 1;
      }
      50% {
        opacity: 0;
      }
      100% {
        opacity: 1;
      }
    }
    @-webkit-keyframes twinkle {
      0% {
        opacity: 1;
      }
      50% {
        opacity: 0;
      }
      100% {
        opacity: 1;
      }
    }
  }

  ion-slides {
    margin: 10px auto;
    height: auto;
    .swiper-container {
      overflow: inherit;
      -webkit-perspective: 2000px;
      perspective: 2000px;
      .swiper-wrapper, .swiper-slide {
        transition-duration: 400ms;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
      }
      .swiper-slide.swiper-slide-prev {
        opacity: 0.5;
        -webkit-transform: translate3d(30%, 0px, -200px) rotateX(0deg) rotateY(-50deg);
        -moz-transform: translate3d(30%, 0px, -200px) rotateX(0deg) rotateY(-50deg);
        -ms-transform: translate3d(30%, 0px, -200px) rotateX(0deg) rotateY(-50deg);
        -o-transform: translate3d(30%, 0px, -200px) rotateX(0deg) rotateY(-50deg);
        transform: translate3d(30%, 0px, -200px) rotateX(0deg) rotateY(-50deg);
      }
      .swiper-slide.swiper-slide-next {
        opacity: 0.5;
        -webkit-transform: translate3d(-30%, 0px, -200px) rotateX(0deg) rotateY(50deg);
        -moz-transform: translate3d(-30%, 0px, -200px) rotateX(0deg) rotateY(50deg);
        -ms-transform: translate3d(-30%, 0px, -200px) rotateX(0deg) rotateY(50deg);
        -o-transform: translate3d(-30%, 0px, -200px) rotateX(0deg) rotateY(50deg);
        transform: translate3d(-30%, 0px, -200px) rotateX(0deg) rotateY(50deg);
      }
      .slide-zoom {
        height: 100%;
      }
      .swiper-pagination-bullet {
        transition-duration: 400ms;
        background: #ffffff;
        border-radius: 8px;
        opacity: 0.3;
      }
      .swiper-pagination-bullet-active {
        background: #ffffff;
        width: 16px;
        opacity: 0.9;
      }
    }
  }

  .project {
    width: 100%;
    min-height: 220px;
    background: url("../assets/imgs/XXXX.png") center top no-repeat;
    background-size: 80%;
    .project-items {
      padding: 0 20px;
      position: relative;
    }
    .project-items:before {
      position: absolute;
      left: 0;
      top: 10px;
      bottom: 10px;
      content: '';
      width: 12px;
      border-left: 1px solid rgba(255, 255, 255, .3);
      border-top: 1px solid rgba(255, 255, 255, .2);
      border-bottom: 1px solid rgba(255, 255, 255, .2);
    }
    .project-items:after {
      position: absolute;
      right: 0;
      top: 10px;
      bottom: 10px;
      content: '';
      width: 12px;
      border-right: 1px solid rgba(255, 255, 255, .3);
      border-top: 1px solid rgba(255, 255, 255, .2);
      border-bottom: 1px solid rgba(255, 255, 255, .2);
    }
    .item-area {
      line-height: 1.6;
      margin-bottom: 20px;
    }
  }

  .stars {
    z-index: 2;
    .star-blue {
      -webkit-animation: blink 2s linear infinite;
      -o-animation: blink 2s linear infinite;
      animation: blink 2s linear infinite;
    }
    .star-meteor {
      position: fixed;
      transform: translate(1000px, -1000px);
    }
    .star-meteor1 {
      -webkit-animation: drop 5s linear infinite;
      -o-animation: drop 5s linear infinite;
      animation: drop 5s linear infinite;
    }
    .star-meteor2 {
      -webkit-animation: drop 5s 3s linear infinite;
      -o-animation: drop 5s 3s linear infinite;
      animation: drop 5s 3s linear infinite;
    }
    .star-meteor3 {
      -webkit-animation: drop2 5s 1s linear infinite;
      -o-animation: drop2 5s 1s linear infinite;
      animation: drop2 5s 1s linear infinite;
    }
    .star-meteor4 {
      -webkit-animation: drop2 5s 1.5s linear infinite;
      -o-animation: drop2 5s 1.5s linear infinite;
      animation: drop2 5s 1.5s linear infinite;
    }
    .star-blink {
      position: relative;
      left: 30px;
      top: 180px;
      -webkit-animation: blink 3s 1s linear infinite;
      -o-animation: blink 3s 1s linear infinite;
      animation: blink 3s 1s linear infinite;
    }
    .star-green {
      position: relative;
      left: 130px;
      top: 120px;
      -webkit-animation: blink 3s 2s linear infinite;
      -o-animation: blink 3s 2s linear infinite;
      animation: blink 3s 2s linear infinite;
    }
    @keyframes blink {
      0% {
        opacity: 0
      }
      50% {
        opacity: 1;
      }
      100% {
        opacity: 0;
      }
    }
    @-webkit-keyframes blink {
      0% {
        -webkit-transform: rotate(0deg);
      }
      100% {
        -webkit-transform: rotate(360deg);
      }
    }

    @keyframes drop {
      0% {
        -webkit-transform: translate(1000px, -1000px);
        -moz-transform: translate(1000px, -1000px);
        -ms-transform: translate(1000px, -1000px);
        -o-transform: translate(1000px, -1000px);
        transform: translate(1000px, -1000px);
      }
      100% {
        -webkit-transform: translate(-1000px, 1000px);
        -moz-transform: translate(-1000px, 1000px);
        -ms-transform: translate(-1000px, 1000px);
        -o-transform: translate(-1000px, 1000px);
        transform: translate(-1000px, 1000px);
      }
    }
    @-webkit-keyframes drop {
      0% {
        -webkit-transform: translate(1000px, -1000px);
        -moz-transform: translate(1000px, -1000px);
        -ms-transform: translate(1000px, -1000px);
        -o-transform: translate(1000px, -1000px);
        transform: translate(1000px, -1000px);
      }
      100% {
        -webkit-transform: translate(-1000px, 1000px);
        -moz-transform: translate(-1000px, 1000px);
        -ms-transform: translate(-1000px, 1000px);
        -o-transform: translate(-1000px, 1000px);
        transform: translate(-1000px, 1000px);
      }
    }
    @keyframes drop2 {
      0% {
        -webkit-transform: translate(1200px, -800px);
        -moz-transform: translate(1200px, -800px);
        -ms-transform: translate(1200px, -800px);
        -o-transform: translate(1200px, -800px);
        transform: translate(1200px, -800px);
      }
      100% {
        -webkit-transform: translate(-800px, 800px);
        -moz-transform: translate(-800px, 800px);
        -ms-transform: translate(-800px, 800px);
        -o-transform: translate(-800px, 800px);
        transform: translate(-800px, 800px);
      }
    }
    @-webkit-keyframes drop2 {
      0% {
        -webkit-transform: translate(1200px, -800px);
        -moz-transform: translate(1200px, -800px);
        -ms-transform: translate(1200px, -800px);
        -o-transform: translate(1200px, -800px);
        transform: translate(1200px, -800px);
      }
      100% {
        -webkit-transform: translate(-800px, 800px);
        -moz-transform: translate(-800px, 800px);
        -ms-transform: translate(-800px, 800px);
        -o-transform: translate(-800px, 800px);
        transform: translate(-800px, 800px);
      }
    }
  }
}
